package forms;

import javax.servlet.http.HttpServletRequest;

import model.StudentModel;

import org.apache.struts.action.*;

public class ChairsHomeForm extends ActionForm
{
	private static final long serialVersionUID = 1L;
	private boolean newReview = true;

	public boolean isNewReview() {
		return newReview;
	}

	public void setNewReview(boolean newReview) {
		this.newReview = newReview;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		setNewReview(true);
	}
	
	// check if first name, middle initial, and last name are provided and valid
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();

		return errors;
	}
}
